package appapi.entity.report;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * 特种设备台账返回对象
 *
 * @author luocheng
 * @version 1.0
 * @date 2023/06/21 13:57
 */
@ApiModel(value = "特种设备台账返回对象")
@Data
public class SpecialEquipEntity {

    @ApiModelProperty(value = "序号")
    @Excel(name = "序号")
    private String sno;

    @ApiModelProperty(value = "设备名称")
    @Excel(name = "设备名称")
    private String equipName;

    @ApiModelProperty(value = "管理编号")
    @Excel(name = "管理编号")
    private String eqmanaNumberuipNo;

    @ApiModelProperty(value = "规格型号")
    @Excel(name = "规格型号")
    private String equipModel;

    @ApiModelProperty(value = "出厂日期")
    @Excel(name = "出厂日期")
    private String equipProductDate;

    @ApiModelProperty(value = "与合同是否相符")
    @Excel(name = "与合同是否相符")
    private String contMatch;

    @ApiModelProperty(value = "生产厂家")
    @Excel(name = "生产厂家")
    private String equipProduct;

    @ApiModelProperty(value="安拆许可证编号")
    @Excel(name = "安拆许可证编号")
    private String instaPermit;

    @ApiModelProperty(value = "安监报告编号")
    @Excel(name = "安监报告编号")
    private String monitoringCode;

    @ApiModelProperty(value = "下次复审日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "下次复审日期")
    private LocalDateTime equipReexamine;

    @ApiModelProperty(value = "使用登记证编号")
    @Excel(name = "使用登记证编号")
    private String certificateNumber;
    @ApiModelProperty(value = "操作手姓名")
    @Excel(name = "操作手姓名")
    private String operName;
    @ApiModelProperty(value = "作业代码编号")
    @Excel(name = "作业代码编号")
    private String operItemCode;
    @ApiModelProperty(value = "操作证编号")
    @Excel(name = "操作证编号")
    private String certificateCode;
    @ApiModelProperty(value = "操作证发证机关")
    @Excel(name = "操作证发证机关")
    private String certificatIssueunit;
    @ApiModelProperty(value = "下次复审日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "下次复审日期")
    private LocalDateTime certificateReexamine;
    @ApiModelProperty(value = "协作队伍名称")
    @Excel(name = "协作队伍名称")
    private String collTeam;
    @ApiModelProperty(value = "进场日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "进场日期")
    private LocalDateTime entryTime;

    @ApiModelProperty(value = "退场日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "退场日期")
    private LocalDateTime actQuitDate;
    @ApiModelProperty(value = "作业地点")
    @Excel(name = "作业地点")
    private String equipAddress;
    @ApiModelProperty(value = "状态")
    @Excel(name = "状态")
    private String equipStatusName;
    @ApiModelProperty(value = "备注")
    @Excel(name = "备注")
    private String equipNote;
}
